package core;

public class PlayerIdHandler {

	private static SingleButtonGame core = SingleButtonGame.getInstance();
	
	public static Player getPlayer(int id){
		return core.getPlayers().get(id);
	}
	public static int getPlayerId(Player p){
		return core.getPlayers().indexOf(p);
	}
}
